import { createApp } from 'vue';
import pinia from '/@/stores/index';
import App from '/@/App.vue';
import router from '/@/router';
import { directive } from '/@/directive/index';
import { i18n } from '/@/i18n/index'; //国际化
import other from '/@/utils/other';
// element-plus组件
import ElementPlus from 'element-plus';
import '/@/theme/index.scss';
// vue-grid-layout组件
import VueGridLayout from 'vue-grid-layout';
// ant-design-vue组件库
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

const app = createApp(App);

directive(app);
other.elSvg(app);
app.use(Antd);
app.use(pinia).use(router).use(ElementPlus).use(i18n).use(VueGridLayout).mount('#app');
